<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="vue.js"></script>
    <script src="index.js"></script>
    <link rel="stylesheet" href="index.css">
    <style>
        .el-header, .el-footer {
            background-color: #B3C0D1;
            color: #333;
            text-align: left;
            line-height: 60px;
        }

        .el-aside {
            background-color: #D3DCE6;
            color: #333;
            text-align: center;
            line-height: 200px;
        }

        .el-main {
            background-color: #E9EEF3;
            color: #333;
            text-align: center;
        }

        /*找到html标签、body标签，和挂载的标签*/
        /*都给他们统一设置样式*/
        html,body,.el-container{
            /*设置内部填充为0，几个布局元素之间没有间距*/
            padding: 0px;
            /*外部间距也是如此设置*/
            margin: 0px;
            /*统一设置高度，高度自行调整*/
            height: 1200px;
        }

    </style>
</head>
<body>
        <div id="app">
            <el-container>
                <el-header>顶部</el-header>
                <el-container>
                    <el-aside>侧边栏容器</el-aside>
                    <el-main>
                        <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
                            <el-tab-pane label="用户管理" name="first">用户管理</el-tab-pane>
                            <el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>
                            <el-tab-pane label="角色管理" name="third">角色管理</el-tab-pane>
                            <el-tab-pane label="定时任务补偿" name="fourth">定时任务补偿</el-tab-pane>
                        </el-tabs>

                    </el-main>
                </el-container>
                <el-container>
                    <el-footer>底部区域</el-footer>
                </el-container>
            </el-container>
        </div>
<script>
    var  vm = new Vue({
        el:"#app",
        data:{
            activeName:'second'
        }
    })
</script>
</body>
</html>